package com.cskaoyan.mapper;

import com.cskaoyan.bean.Comment;
import com.cskaoyan.bean.WxCommentQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxCommentMapper {

    List<Comment> list(@Param("query") WxCommentQuery wxCommentQuery);

    Integer countAll(@Param("query") WxCommentQuery wxCommentQuery);

    Integer countHasPic(@Param("query") WxCommentQuery wxCommentQuery);
    
    Integer post(@Param("comment") Comment comment);
}
